<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="../include/base.jsp" %>
<!DOCTYPE HTML>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">	
	<title>CRM-contactnote-comment</title>
	<meta charset="UTF-8">
	<%@ include file="../include/head.jsp" %>
</head>

<body class="crm">
	
<jsp:include page="../include/top.jsp">
	<jsp:param value="contact" name="tag"/>
</jsp:include>


<div class="container-fluid">
	<div class="row-fluid">
	<div class="span8">
		<div class="well screen">
			<div class="page-header header">

				编辑<a href="https://1339135738.workxp.info/chances/4154">${contactnote.content }</a> 的事件${contactnote.user.username } 添加于 ${contactnote.createtime }
				<span>
					
				</span>

			</div>
			<div class="live_search_spinner" behavior="spinner" id="parties_loading">
			  <div class="liner">
			    <h3>处理中...</h3>
			    <img src="${basePath }/img/indicator.gif" alt="WorkXP">
			  </div>
			</div>
			<div class="main" id="main">


				<table class="table top">
				<tbody>
					<tr>
						<!-- <td width="65"><img alt="" src="${basePath }/img/logo.png"></td> -->
						<td>
							<div>
							<form accept-charset="UTF-8" action="https://1339135738.workxp.info/notes" class="simple_form new_note" data-remote="true" id="note-form" method="post" novalidate="novalidate"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓"><input name="authenticity_token" type="hidden" value="KFONXAgrV80PCacx2RHhLc5VP7xbjWRF+58BzWueBLs="></div>
								<input id="from" name="from" type="hidden" value="Note">
								<input id="note_parent_id" name="note[parent_id]" type="hidden" value="765299">
								<input id="note_contact_id" name="note[contact_id]" type="hidden">
								<input id="note_chance_id" name="note[chance_id]" type="hidden" value="4154">
								<input id="note_kase_id" name="note[kase_id]" type="hidden">
								
								<div class="control-group text required">
									<div class="controls">
										<textarea class="text required content" cols="40" id="note_content" name="contactnote.content" rows="20">${contactnote.content }</textarea>
									</div>
								</div>
								
						
								<div class="new_note_form_basics">
									<div class="submit right">
										<input class="btn btn-primary" data-loading-text="处理中.." name="commit" type="submit" value="保存修改">
										<a class="btn" type="submit" href="${basePath }/contact/show?id=${contact.id}">取消</a>
									</div>
								</div>
							</form>
							</div>
				
							<script type="text/javascript" charset="utf-8">
								
								// auto_size_textarea('holder_', 'note_content_');  
								$(document).ready(function() {
									validate_form('#note-form', true);
									PendingAttachments.init(".attachment_container");
									$('#note_content').focus();
								});
							</script>
						</td>
					</tr>
				</tbody>
				</table>

			</div>
		</div>
	</div>
	<div class="span4 sidebar">
				
	<div class="well">
	<div class="title">
		这个事件是关于${contactnote.content }
	</div>

	<table class="table crm-table top" id="regardings">
		<tbody>
		<tr>
			<td width="36">
				<span style="background: url(${basePath}/img/workxp_sprites.png) no-repeat -222px -162px; width: 32px; padding-top: 32px; border: 1px solid #CCCCCC;" class="sprite"></span>
			</td>
			<td>
				<a href="https://1339135738.workxp.info/chances/4154">${contactnote.content}</a>
			</td>
		</tr>
		</tbody>
	</table>
</div>
<script>
	$(document).ready(function() {
		ContactQuickShow.init();
	});
</script>

			</div>
	</div>
</div>
	

</body></html>
